package io.renren.modules.basic.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-10-14 10:50:42
 */
@Data
@TableName("mt_cc_device_commun_log")
public class MtCcDeviceCommunLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id 主键
	 */
	@TableId
	@Excel(name = "id", orderNum = "1" , width = 20)
	private Integer id;
	/**
	 * 添加时间
	 */
	@Excel(name = "创建时间" , format = "yyyy-MM-dd HH:mm:ss", orderNum = "2" , width = 40)
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 版本号 默认为 1
	 */
	private String version;
	/**
	 * 设备id，关联表：
	 */
	/*@Excel(name = "设备id" , orderNum = "3" , width = 20)
	private String deviceId;*/
	/**
	 * 状态		0表示写入设备，1接受设备信息
	 */
	@Excel(name = "状态" , orderNum = "3" ,replace = {"写入设备_0","接受设备信息_1"}, width = 20)
	private Integer status;
	/**
	 * 内容集
	 */
	@Excel(name = "内容集" , orderNum = "4" , width = 20)
	private String content;
	/**
	 * 
	 */
	private String remark;

}
